package com.muquit.client;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.ClickListener;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.RootPanel;
import com.google.gwt.user.client.ui.Widget;

/* adding a comment xyz */

/**
 * Entry point classes define <code>onModuleLoad()</code>.
 */
public class TestSVN implements EntryPoint
{
    /**
     * This is the entry point method.
     */
    public void onModuleLoad()
    {
        final Button button=new Button("Click me");
        final Label label=new Label();
        button.addClickListener(new ClickListener()
        {
            public void onClick(Widget sender)
            {
                if (label.getText().equals(""))
                    label.setText("Hello World!");
                else
                    label.setText("");
            }
        });
        RootPanel.get().add(button);
        RootPanel.get().add(label);
    }
}
